home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 22 / Cream of the Crop 22.iso / bbs / fnos16a5.zip / HELP.ZIP / IP < prev    next >
Text File  |  1995-11-29  |  5KB  |  119 lines

  1.  
  2. ip <subcommand>
  3.  
  4.      These commands are used for the Internet Protocol service.
  5.  
  6.  
  7.     ip access <permit|deny|delete> <proto> <sourceaddr[/bits]|all>
  8.          <destaddr[/bits]|all> <iface>  [loport | all [hiport]]
  9.  
  10.      Display or set ip access controls. Controls packet routing via
  11.      <iface> and determines which source ip addresses <sourceaddr>
  12.      can route to which destination ip addresses <destaddr>.
  13.      Default is to permit all sources to access all destinations,
  14.      until the first IP access command is entered, at which point all
  15.      routes via <iface> are denied unless specifcally permitted by
  16.      subsequent ip access commands.
  17.  
  18.      Execution of this subcommand will add or delete an access control
  19.      entry in an internal table.  Entries are scanned for an <iface> match,
  20.      and then in the order they were added, to determine if access will
  21.      be granted.  Access will be granted only if an entry matching <destaddr>
  22.      and <sourceaddr> is found with "permit" set before a match with "deny"
  23.      set, or no match is found.  The optional /bits suffix to the ipaddr
  24.      specifies how many leading bits in the ipaddr are to be considered
  25.      significant in the routing comparisons.  If not specified, 32
  26.      bits (i.e., full significance) is assumed. All addresses can be
  27.      specified by "all".  Access can be made protocol dependent via the
  28.      <proto> parameter. <proto> may be 'a' for any, 't' for TCP, 'u'
  29.      for UDP, 'i' for ICMP, or the IP protocol number. For UDP and TCP
  30.      protocols, loport and hiport specify the port or 
  31.      range of TCP or UDP ports for which the access control command applies.
  32.      If none or all is specified, all ports are assumed.
  33.  
  34.      "ip access" will display the table of current access control entrys.
  35.      Access commands should be entered from the most specific to the
  36.      least specific, since the first match (permit or deny) encountered
  37.      for a given interface in the internal table is returned.
  38.  
  39.      #Example:
  40.          #allow a specific AMPRnet host access to the internet    
  41.          ip access permit any 44.76.1.199 all eth0
  42.          #but deny all others except DNS/Ping (UDP) access
  43.          ip access permit udp 44/24 all eth0 all 
  44.          #permit only AMPRnet hosts access to RF port
  45.          ip access permit any 44/24 44/24 2m
  46.           
  47.  
  48.     ip address [<addr>]
  49.  
  50.      Display or set the default local IP  address.  This  command
  51.      must  be  given before  an  'attach' command if it is to be used
  52.      as the default IP address for the interface.
  53.  
  54.  
  55.     ip encap [4 | 94]
  56.  
  57.      Display or set the packet ID code used for transmitted IP-IP
  58.      encapsulated packets.  As of 1 March 1995, the default pid is 4.
  59.  
  60.  
  61.     ip heard
  62.  
  63.      Display the ip-heard list. This shows the recently heard tcp/ip
  64.      systems. See also the 'ip hport' and 'ip flush' commands.
  65.  
  66.  
  67.     ip flush
  68.  
  69.      Clear the ip-heard list.  See 'ip heard' and 'ip hport'.
  70.  
  71.  
  72.     ip hport [<iface> [ON | off]]
  73.  
  74.      Display or set the ip-heard facility.  If no argument is given,
  75.      show the interfaces on which ip-heard is currently active. If
  76.      <iface> is given, shows the status of the ip-heard flag for the
  77.      given interface. If <iface> <on|off> is given, it will set the
  78.      flag on or off.   Default is on.
  79.      
  80.      If this flag is on, ip heard frames will be logged in a table.
  81.      This table can be shown with the 'ip heard' command or with the
  82.      nodeshell 'IHeard' command.  Ip-heard logging on ax.25 interfaces
  83.      logs all ip stations heard on the port, even if the system wasn't
  84.      directly involved in the ip activity.  For non-ax.25 interfaces,
  85.      only ip frames that we were actively involved in (i.e. that we
  86.      routed) are logged. (this difference is due to code internals)
  87.      
  88.           ip hport port1 off
  89.  
  90.  
  91.     ip hsize [n]                                       Default: 16
  92.  
  93.      Display or  set the maximum size of  the Ip heard table. 0 means
  94.      no limit.
  95.      
  96.  
  97.     ip rtimer [<seconds>]                              Default: 30
  98.  
  99.      Display or set the IP reassembly time-out.
  100.      
  101.  
  102.     ip status
  103.  
  104.      Display Internet Protocol (IP) statistics, such as total packet
  105.      counts and error counters of various types.
  106.  
  107.     ip ttl [<hops>]
  108.  
  109.      (B)  Display or set the default time-to-live value placed in each
  110.      outgoing IP datagram.  This limits the number of switch hops the
  111.      datagram will be allowed to take.  The idea is to bound the
  112.      lifetime of the packet should it become caught in a routing loop.
  113.      You should make the value slightly larger than the number of hops
  114.      across the network you expect to transit packets.  The default is
  115.      set at compilation time to 255, the official recommended value
  116.      for the Internet.
  117.  
  118.  
  119.